{yun:}include file="$wapstyle/member/theader.htm"{/yun}
<section>
<div class="wap_member_tit">
<ul>
<li {yun:}if $smarty.get.status==''&&$smarty.get.pstatus!='2'{/yun}class="wap_member_tit_cur"{yun:}/if{/yun}><a href="index.php?c=subject">发布中</a></li>
<li {yun:}if $smarty.get.status=='1'{/yun}class="wap_member_tit_cur"{yun:}/if{/yun}><a href="index.php?c=subject&status=1">待审核</a></li>
<li {yun:}if $smarty.get.status=='2'{/yun}class="wap_member_tit_cur"{yun:}/if{/yun}><a href="index.php?c=subject&status=2">未通过</a></li>
<li {yun:}if $smarty.get.pstatus=='2'{/yun}class="wap_member_tit_cur"{yun:}/if{/yun}><a href="index.php?c=subject&pstatus=2">已下架</a></li>
</ul>
</div>
</section>
<section>
<div class="wap_member_job_show">
{yun:}foreach item=v from=$rows{/yun}
<div class="wap_member_msg ">
<div class="wap_member_date"><span class="yun_m_job_date_n">&nbsp;<a href="{yun:}url m=wap c=train a=subshow id=$v.id{/yun}" class="job_list_jobname com_member_hr_cblue">{yun:}$v.name{/yun} </a></span></div>
<div class="yun_m_job_list_zt">地址：{yun:}$v.address{/yun}</div>
<div class="yun_m_job_list_zt">添加时间：{yun:}$v.ctime|date_format:"%Y-%m-%d %H:%M"{/yun}</div>
{yun:}if $v.statusbody{/yun}
{yun:}if $v.status==2{/yun}<div class="yun_m_job_list_zt"  style="color:#E00C0C">审核说明：{yun:}$v.statusbody{/yun}</div>{yun:}/if{/yun}
{yun:}/if{/yun}
<div class="yun_member_bth">
<a href="javascript:void(0)" onclick="layer_del('确定删除该课程？','index.php?c=subject&del={yun:}$v.id{/yun}');" class="yun_member_sub  yun_member_bth1">删除</a>
<a class="yun_member_sub  yun_member_bth1" href="{yun:}url m=wap c=train a=subshow id='`$v.id`'{/yun}">预览</a> 
<a href="index.php?c=addsubject&id={yun:}$v.id{/yun}" class="yun_member_sub yun_member_bth2">修改</a> 
{yun:}if $smarty.get.status==''&&$smarty.get.pstatus!='2'{/yun}
<a href="javascript:void(0)" onclick="layer_del('确定将该课程设为下架？','index.php?c=subject&id={yun:}$v.id{/yun}&pause_status=2');" class="yun_member_sub yun_member_bth3">下架</a>
{yun:}/if{/yun}
{yun:}if $smarty.get.pstatus=='2'{/yun}
<a href="javascript:void(0)" onclick="layer_del('确定将该课程设为显示？','index.php?c=subject&id={yun:}$v.id{/yun}&pause_status=1')"class="yun_member_sub yun_member_bth3">上架</a>{yun:}/if{/yun}
</div>
</div>
{yun:}foreachelse{/yun}
<div class="wap_member_no">暂无相关信息</div>
{yun:}/foreach{/yun}
<div class="wap_memberjob_fabu"><a href="index.php?c=addsubject">发布新课程</a></div>
<div class="pages">{yun:}$pagenav{/yun}</div>
</div>
</section>





</div>
{yun:}include file="$wapstyle/footer.htm"{/yun}